home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
hity wydania
/
Bank smakow
/
BankSmakow.air
/
BankSmakow.swf
/
scripts
/
_macCloseButtonStyle.as
< prev
next >
Wrap
Text File
|
2009-12-16
|
1KB
|
43 lines
package
{
import mx.core.IFlexModuleFactory;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
public class _macCloseButtonStyle
{
private static var _embed_css_mac_close_down_png_92310621:Class = _macCloseButtonStyle__embed_css_mac_close_down_png_92310621;
private static var _embed_css_mac_close_over_png_962611485:Class = _macCloseButtonStyle__embed_css_mac_close_over_png_962611485;
private static var _embed_css_mac_close_up_png_1397138909:Class = _macCloseButtonStyle__embed_css_mac_close_up_png_1397138909;
public function _macCloseButtonStyle()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
var fbs:IFlexModuleFactory = param1;
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".macCloseButton");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".macCloseButton",style,false);
}
if(style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.upSkin = _embed_css_mac_close_up_png_1397138909;
this.overSkin = _embed_css_mac_close_over_png_962611485;
this.downSkin = _embed_css_mac_close_down_png_92310621;
};
}
}
}
}